﻿using Abp.Domain.Entities.Auditing;
using Camc.Quality.Inspection.InspectionStrat;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.Inspection.InspectionManage
{
    public class InspectionStandardDescDto : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 编码规则ID
        /// </summary>
        public Guid CodeFormatId { get; set; }
        /// <summary>
        /// 异常单号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 任务编号
        /// </summary>
        public string TaskCode { get; set; }
        /// <summary>
        /// 任务编号Id
        /// </summary>
        public string TaskCodeId { get; set; }
        /// <summary>
        /// 一级异常ID
        /// </summary>
        public Guid InspectionTypeDescId { get; set; }
        /// <summary>
        /// 二级异常ID
        /// </summary>
        public Guid InspectionItemInfoId { get; set; }
        /// <summary>
        /// 异常描述
        /// </summary>
        public string InspectionDetails { get; set; }
        /// <summary>
        /// 异常等级ID
        /// </summary>
        public Guid InspectionSeverityDescId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 处理人ID
        /// </summary>
        public long? HandlerId { get; set; }
        /// <summary>
        /// 处理完成时间
        /// </summary>
        public DateTime? HandleTime { get; set; }
        /// <summary>
        /// 实际完成时间
        /// </summary>
        public DateTime? CompleteTime { get; set; }
        /// <summary>
        /// 原因分析
        /// </summary>
        public string CauseAnalysis { get; set; }
        /// <summary>
        /// 处理措施
        /// </summary>
        public string TreatmentMeasures { get; set; }
        /// <summary>
        /// 要求完成时间
        /// </summary>
        public string RequestCompleteTime { get; set; }
        /// <summary>
        /// 确认人
        /// </summary>
        public string Confirmer { get; set; }
        /// <summary>
        /// 确认时间
        /// </summary>
        public DateTime? ConfirmTime { get; set; }
        /// <summary>
        /// 确认意见
        /// </summary>
        public string ConfirmSuggest { get; set; }
        /// <summary>
        /// 耗费时间
        /// </summary>
        public string CostTime { get; set; }
        /// <summary>
        /// 图片信息
        /// </summary>
        public IList<InspectionFileUploadDto> InspectionFileUploadDto;
        public int UserId { get; set; }
    }
}
